#pragma once

class Bin{
public:
	Bin		(Bin*);
	Bin		(uint);
	Bin		(void*,uint);
	~Bin	(void);

	uint	checkSum	(void);
	void	copy		(void*,uint,uint);
	uint	getLength	(void){return len;};
	void*	Ptr			(void){return buf;};

private:
	ubyte*	buf;
	uint	len;
};